package com.example.myapplication1;

public class Category {
    private int iconRes;     // 类别图标（本地资源 ID）
    private String name;     // 类别名称
    private int categoryId;  // 类别 ID（用于跳转列表）

    // getter/setter
    public int getIconRes() { return iconRes; }
    public void setIconRes(int iconRes) { this.iconRes = iconRes; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public int getCategoryId() { return categoryId; }
    public void setCategoryId(int categoryId) { this.categoryId = categoryId; }
}